package client

import (
	"time"

	"starsine.cn/appTpl/svcpeers/svcpeersproto"
)

func (p *GRpcClient) SvcShakehand(in *svcpeersproto.ShakehandReq) (*svcpeersproto.ShakehandRes, error) {
	p.expire = time.Now().Add(time.Minute)
	return p.client.SvcShakehand(p.appCtxt.Ctx, in)
}

func (p *GRpcClient) CmdLine(in *svcpeersproto.CmdLIneReq) (*svcpeersproto.CmdLIneRes, error) {
	p.expire = time.Now().Add(time.Minute)
	return p.client.CmdLine(p.appCtxt.Ctx, in)
}
